﻿using Nemerle.Collections;
using Nemerle.Text;
using Nemerle.Utility;

using System;
using System.Collections.Generic;
using System.Linq;

class SequenceInitialization
{
  public Init() : void
  {
    def print(data)
    {
      foreach(item in data)
        Console.Write($"$item ");
      Console.WriteLine();
    }
    
    def data = Enumerable.Range(0, 3);
    print(data); // 0 1 2
    
    def data = $[0..3];
    print(data); // 0 1 2 3
  }
}
